package com.dy.lock.screen.dao;

import com.dy.lock.screen.pojo.CustomerBlacklistInfo;

public interface CustomerBlacklistDao extends
		BaseDao<CustomerBlacklistInfo, String> {

	/**
	 * 通过id查询
	 * 
	 * @param id
	 * @return
	 */
	public CustomerBlacklistInfo queryByPrimaryKey(String id);

	/**
	 * 根据拉黑客户id和被被拉黑客户id查询
	 * 
	 * @param attentionIdOrBeConcernId
	 * @return
	 */
	public CustomerBlacklistInfo queryByBlackIdAndBeBlackId(
			CustomerBlacklistInfo blacklistInfo);

	/**
	 * 移除黑名单
	 * 
	 * @param attentionInfo
	 * @return
	 */
	// public int delete(CustomerBlacklistInfo blacklistInfo);

}
